<div class="middle_boxes_upper">
    
<div class="middle_widget_area">
    
    <h2>Sale Items</h2>
    
</div>

<div class="middle_widget_area">
    
    <h2>Recent Posts</h2>
    
</div>

<div class="middle_widget_area">
    
    <h2>Categories</h2>
    
    
    
    <?php $args = array(
	'show_option_all'    => '',
	'orderby'            => 'name',
	'order'              => 'ASC',
	'style'              => 'list',
	'show_count'         => 0,
	'hide_empty'         => 0,//
	'use_desc_for_title' => 0,
	'child_of'           => 0,
	'feed'               => '',
	'feed_type'          => '',
	'feed_image'         => '',
	'exclude'            => '',
	'exclude_tree'       => '',
	'include'            => '',//
	'hierarchical'       => true,
	'title_li'           => 0, //
	'show_option_none'   => __('No categories'),
	'number'             => null,
	'echo'               => 1,
	'depth'              => 0,
	'current_category'   => 0,
	'pad_counts'         => 0,
	'taxonomy'           => 'jewelry_type',
	'walker'             => null
);
    
wp_list_categories($args); ?>
    
</div>
    
    
    
    
    
    
</div>




<div class="middle_boxes_wrap">
    
<?php

$home_args = array(
    'category_name' => 'Middle_Boxes',
    'post_status' => 'publish',
);

$stm_counter = 0;

$home_images = new WP_Query( $home_args );

while ($home_images->have_posts())

{
    
$home_images->the_post();
  
{
                    
++$stm_counter;

?>
    
    
<div class="middle_boxes" id="<?php echo "home-" . $stm_counter; ?>">
    
<div class="middle_boxes_text">
    
    

<h1><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h1>

<?php the_excerpt(); ?>

<div class="middle_button"><a href="<?php the_permalink(); ?>"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/buttons/gpj_button_bg.png" /></a></div>

</div><!-- middle boxes text -->


</div><!-- middle boxes -->

<?php

}

wp_reset_postdata();

}
?>

</div><!-- middle boxes wrap -->